package o;

import android.content.Context;
import androidx.annotation.NonNull;

public class cbn implements cey {
    private cfi ˊ;
    private fjx ॱ;

    public cbn(@NonNull Context context, int i, @NonNull fjx o_fjx, boolean z) {
        this.ˊ = ˊ(context, i, z);
        this.ॱ = o_fjx;
    }

    public void ˊ() {
        this.ˊ.ˋ();
    }

    public void al_() {
        this.ॱ.ॱ(Boolean.valueOf(true));
    }

    public void ˎ() {
        this.ॱ.ॱ(Boolean.valueOf(false));
    }

    private cfi ˊ(@NonNull Context context, int i, boolean z) {
        cfi o_cfi = new cfi(this);
        if ((i & 1) != 0) {
            bqx.ˏ("PermissionControl", "Add Login Checker");
            o_cfi.ˏ(new cbl(context, z));
        }
        Object o_cbp = new cbp(context, z);
        if ((i & 4) != 0) {
            bqx.ˏ("PermissionControl", "Add RealName Checker");
            o_cfi.ˏ(o_cbp);
        }
        if ((i & 2) != 0) {
            bqx.ˏ("PermissionControl", "Add Nickname Checker");
            o_cfi.ˏ(new cbo(context, o_cbp, z));
        }
        if ((i & 8) != 0) {
            bqx.ˏ("PermissionControl", "Add Silence Checker");
            o_cfi.ˏ(new cbq(context, z));
        }
        return o_cfi;
    }
}
